<?php 
	session_start();
	require_once("../includes/public.inc.php");
	$type = isset($_GET['type'])?$_GET['type']:'';
	$username = isset($_SESSION['username'])?$_SESSION['username']:'';
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="user-scalable=yes, width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>密码修改</title>
<link rel="stylesheet" type="text/css" href="css/xiugai.css" media="all">
</head>
<body>
	<div class="pz-css">
		<ul class="top-tool">
			<li class="title">密码修改</li>
			<li class="back"><a href="javascript:history.go(-1)"></a>
			</li><li class="home"><a href="index.php?type=<?=$type?>"></a></li>
		</ul>
		<form action="xiugaisave.php?act=save&type=<?=$type?>" method="post" >
			<div class="pz-panel">
				<h4>温馨提示：</h4>
				<h5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请妥善保管好您的密码。</h5>
			</div>
			<div class="pz-panel" style="background-color: rgb(255, 255, 255);">
				<table class="list" border="0" cellspacing="0" width="100%">
					<tbody>
						<tr>
							<td width="100">旧&nbsp;&nbsp;密&nbsp;&nbsp;码：</td>
							<td align="left" width="100%"><span class="span12"><input maxlength="20" id="ouserPWD" name="pass" type="password"></span></td>
						</tr>
						<tr>
							<td width="100">输入密码：</td>
							<td align="left" width="100%"><span class="span12"><input maxlength="20" value="" id="userPWD" name="new_pass" type="password"></span></td>
						</tr>
						<tr>
							<td width="100">确定密码：</td>
							<td align="left" width="100%"><span class="span12"><input maxlength="20" value="" id="nuserPWD" name="new_pass2" type="password"></span></td>
						</tr>
					</tbody>
				</table>
			</div>
	        <div class="group">
				 <div class="span6">
				 	<button type="button" onclick="location.href='index.php'">会员中心</button>
				 </div>
				 <div class="span6">
				 	<input type="submit" value="确认修改" class="red" />
				 </div>
			</div>
		</form>
	</div>
</body>
</html>